<template>
  <div>
    <h1 style="color:red">{{msg}} </h1>
    <h2 style="color:green">姓名:{{obj.name}} </h2>
    <h2 style="color:orange">年龄:{{obj.age}} </h2>

  </div>
</template>

<script>
export default {
  name: 'VuecliDemoApp',

  data() {
    return {
      msg:'一个对象',
        obj:{
          name:'迪丽热巴',
          age:"24"
        }
      
    };
  },

  mounted() {
    
  },

  methods: {
    
  },
};
</script>

<style lang="scss" scoped>

</style>